package com.cl.dao;

import com.cl.entity.LaoshiEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 教师
 */
public interface LaoshiDao extends BaseMapper<LaoshiEntity> {
    
    @Select("select * from laoshi ${ew.customSqlSegment}")
    List<LaoshiEntity> selectListView(@Param("ew") Wrapper<LaoshiEntity> wrapper);

    @Select("select * from laoshi ${ew.customSqlSegment}")
    List<LaoshiEntity> selectListView(Pagination page, @Param("ew") Wrapper<LaoshiEntity> wrapper);
} 